package com.laboratory.miniooperate.service;

import com.laboratory.miniooperate.domain.UploadResult;
import org.springframework.core.io.InputStreamResource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

public interface UploadService {

    UploadResult uploadFile(MultipartFile file);

    Boolean deletedFile(String objectName);

    ResponseEntity<InputStreamResource> downloadFile(String objectName, Boolean isDownload);

}
